<script setup lang="ts">

</script>

<template>
  <div class="box">
    <div class="title">
      <slot name="title">用户量</slot>
    </div>
    <div class="content">
      <div>
        <slot name="num1">2000</slot>
      </div>
      <div>
        <slot name="icon"><img src="../assets/card.svg" style="width: 25px"></slot>
      </div>
    </div>
    <div class="button">
      <div>
        <slot name="total">总用户量</slot>
      </div>
      <div>
        <slot name="num2">120000</slot>
      </div>
    </div>
  </div>
</template>

<style scoped>
.box {
  background-color: white;
  width: 264px;
  height: 170px;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.title {
  font-size: 20px;
  color: #333333;
  margin-bottom: 10px;
  font-weight: bold;
}

.content {
  display: flex;
  justify-content: space-between;
}

.button {
  display: flex;
  justify-content: space-between;
}
</style>